/* 默认主题 */
.markdown-theme-default {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

.markdown-theme-default h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-default h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-default h3 {
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

.markdown-theme-default p {
  margin-bottom: 1em;
}

.markdown-theme-default code {
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

.markdown-theme-default pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
}

.markdown-theme-default blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
  margin-bottom: 1em;
}

/* GitHub主题 */
.markdown-theme-github {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #24292e;
}

.markdown-theme-github h1 {
  font-size: 2em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-github h2 {
  font-size: 1.5em;
  margin-bottom: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.markdown-theme-github h3 {
  font-size: 1.25em;
  margin-bottom: 16px;
  font-weight: 600;
}

.markdown-theme-github p {
  margin-bottom: 16px;
}

.markdown-theme-github code {
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

.markdown-theme-github pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
}

.markdown-theme-github blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
  margin-bottom: 16px;
}

/* 中等主题 */
.markdown-theme-medium {
  font-family: 'Charter', 'Georgia', serif;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.84);
  font-size: 18px;
}

.markdown-theme-medium h1 {
  font-size: 2.25em;
  margin-bottom: 0.8em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.markdown-theme-medium h2 {
  font-size: 1.75em;
  margin-bottom: 0.8em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.markdown-theme-medium h3 {
  font-size: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.markdown-theme-medium p {
  margin-bottom: 1.5em;
}

.markdown-theme-medium code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 3px 4px;
  font-family: 'Menlo', monospace;
  font-size: 0.9em;
}

.markdown-theme-medium pre {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 1.5em;
  overflow: auto;
}

.markdown-theme-medium blockquote {
  border-left: 3px solid rgba(0, 0, 0, 0.84);
  padding-left: 20px;
  margin-left: -23px;
  margin-bottom: 1.5em;
  font-style: italic;
}

/* Notion主题 */
.markdown-theme-notion {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, 'Apple Color Emoji', Arial, sans-serif;
  line-height: 1.5;
  color: rgb(55, 53, 47);
  font-size: 16px;
}

.markdown-theme-notion h1 {
  font-size: 2em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.markdown-theme-notion h2 {
  font-size: 1.5em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.markdown-theme-notion h3 {
  font-size: 1.25em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.markdown-theme-notion p {
  margin-bottom: 1em;
}

.markdown-theme-notion code {
  background-color: rgba(135, 131, 120, 0.15);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: SFMono-Regular, Menlo, Consolas, 'PT Mono', 'Liberation Mono', Courier, monospace;
  font-size: 0.9em;
}

.markdown-theme-notion pre {
  background-color: rgb(247, 246, 243);
  padding: 16px;
  border-radius: 3px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-notion blockquote {
  border-left: 3px solid rgb(235, 236, 237);
  padding-left: 14px;
  margin-left: 0;
  margin-bottom: 1em;
  color: rgb(120, 119, 116);
}

/* 掘金主题 */
.markdown-theme-juejin {
  font-family: -apple-system, system-ui, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.75;
  color: #252933;
  font-size: 15px;
}

.markdown-theme-juejin h1 {
  font-size: 1.8em;
  margin-bottom: 1em;
  font-weight: 600;
}

.markdown-theme-juejin h2 {
  font-size: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 600;
}

.markdown-theme-juejin h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.markdown-theme-juejin p {
  margin-bottom: 1.2em;
}

.markdown-theme-juejin code {
  background-color: #f8f8f8;
  padding: 0.2em 0.4em;
  border-radius: 2px;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

.markdown-theme-juejin pre {
  background-color: #f8f8f8;
  padding: 1em;
  border-radius: 5px;
  margin-bottom: 1.2em;
  overflow: auto;
}

.markdown-theme-juejin blockquote {
  background-color: #f7f7f7;
  padding: 1em;
  border-left: 4px solid #b3b3b3;
  margin-bottom: 1.2em;
}

/* CSDN主题 */
.markdown-theme-csdn {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.8;
  color: #333;
  font-size: 15px;
}

.markdown-theme-csdn h1 {
  font-size: 1.8em;
  margin-bottom: 1em;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

.markdown-theme-csdn h2 {
  font-size: 1.5em;
  margin-bottom: 0.8em;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

.markdown-theme-csdn h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: bold;
}

.markdown-theme-csdn p {
  margin-bottom: 1em;
}

.markdown-theme-csdn code {
  background-color: #f6f8fa;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Menlo, Courier, monospace;
  font-size: 0.9em;
}

.markdown-theme-csdn pre {
  background-color: #f6f8fa;
  padding: 1em;
  border-radius: 5px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-csdn blockquote {
  background-color: #f5f5f5;
  padding: 1em;
  border-left: 4px solid #ddd;
  margin-bottom: 1em;
}

/* 知乎主题 */
.markdown-theme-zhihu {
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
  line-height: 1.7;
  color: #121212;
  font-size: 15px;
}

.markdown-theme-zhihu h1 {
  font-size: 1.8em;
  margin-bottom: 1em;
  font-weight: 600;
}

.markdown-theme-zhihu h2 {
  font-size: 1.5em;
  margin-bottom: 0.8em;
  font-weight: 600;
}

.markdown-theme-zhihu h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: 600;
}

.markdown-theme-zhihu p {
  margin-bottom: 1em;
}

.markdown-theme-zhihu code {
  background-color: rgba(0, 0, 0, 0.06);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

.markdown-theme-zhihu pre {
  background-color: #f6f6f6;
  padding: 1em;
  border-radius: 3px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-zhihu blockquote {
  padding: 0.5em 1em;
  color: #646464;
  background: #f6f6f6;
  border-left: 3px solid #ddd;
  margin-bottom: 1em;
}

/* 微信主题 */
.markdown-theme-wechat {
  font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.75;
  color: #333;
  font-size: 15px;
}

.markdown-theme-wechat h1 {
  font-size: 1.7em;
  margin-bottom: 0.8em;
  font-weight: bold;
}

.markdown-theme-wechat h2 {
  font-size: 1.5em;
  margin-bottom: 0.7em;
  font-weight: bold;
}

.markdown-theme-wechat h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: bold;
}

.markdown-theme-wechat p {
  margin-bottom: 1em;
}

.markdown-theme-wechat code {
  background-color: rgba(0, 0, 0, 0.06);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Menlo, Courier, monospace;
  font-size: 0.9em;
}

.markdown-theme-wechat pre {
  background-color: #f6f7f8;
  padding: 1em;
  border-radius: 5px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-wechat blockquote {
  padding: 0.5em 1em;
  color: #777;
  background: #f7f7f7;
  border-left: 4px solid #07c160;
  margin-bottom: 1em;
}

/* 优雅主题 */
.markdown-theme-elegant {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  line-height: 1.8;
  color: #333;
  font-size: 16px;
}

.markdown-theme-elegant h1 {
  font-size: 2em;
  margin-bottom: 0.8em;
  font-weight: normal;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3em;
}

.markdown-theme-elegant h2 {
  font-size: 1.6em;
  margin-bottom: 0.7em;
  font-weight: normal;
}

.markdown-theme-elegant h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: normal;
}

.markdown-theme-elegant p {
  margin-bottom: 1.2em;
}

.markdown-theme-elegant code {
  background-color: #f8f8f8;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  font-size: 0.9em;
}

.markdown-theme-elegant pre {
  background-color: #f8f8f8;
  padding: 1em;
  border-radius: 3px;
  margin-bottom: 1.2em;
  overflow: auto;
}

.markdown-theme-elegant blockquote {
  font-style: italic;
  border-left: 3px solid #ddd;
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 1.2em;
  color: #666;
}

/* 学术主题 */
.markdown-theme-academic {
  font-family: 'Times New Roman', Times, serif;
  line-height: 1.6;
  color: #222;
  font-size: 16px;
}

.markdown-theme-academic h1 {
  font-size: 2em;
  margin-bottom: 0.8em;
  font-weight: bold;
  text-align: center;
}

.markdown-theme-academic h2 {
  font-size: 1.5em;
  margin-bottom: 0.7em;
  font-weight: bold;
}

.markdown-theme-academic h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: bold;
}

.markdown-theme-academic p {
  margin-bottom: 1em;
  text-align: justify;
}

.markdown-theme-academic code {
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  font-size: 0.9em;
}

.markdown-theme-academic pre {
  background-color: #f5f5f5;
  padding: 1em;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-academic blockquote {
  border-left: 3px solid #ccc;
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 1em;
  font-style: italic;
}

/* 简洁主题 */
.markdown-theme-clean {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
}

.markdown-theme-clean h1 {
  font-size: 1.8em;
  margin-bottom: 0.8em;
  font-weight: 500;
}

.markdown-theme-clean h2 {
  font-size: 1.5em;
  margin-bottom: 0.7em;
  font-weight: 500;
}

.markdown-theme-clean h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: 500;
}

.markdown-theme-clean p {
  margin-bottom: 1em;
}

.markdown-theme-clean code {
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
  font-size: 0.9em;
}

.markdown-theme-clean pre {
  background-color: #f5f5f5;
  padding: 1em;
  border-radius: 3px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-clean blockquote {
  border-left: 2px solid #ddd;
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 1em;
  color: #777;
}

/* 日光主题 */
.markdown-theme-solarized {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #657b83;
  background-color: #fdf6e3;
  font-size: 16px;
}

.markdown-theme-solarized h1 {
  font-size: 2em;
  margin-bottom: 0.8em;
  font-weight: 600;
  color: #b58900;
}

.markdown-theme-solarized h2 {
  font-size: 1.5em;
  margin-bottom: 0.7em;
  font-weight: 600;
  color: #cb4b16;
}

.markdown-theme-solarized h3 {
  font-size: 1.3em;
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #d33682;
}

.markdown-theme-solarized p {
  margin-bottom: 1em;
}

.markdown-theme-solarized code {
  background-color: #eee8d5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  font-size: 0.9em;
  color: #2aa198;
}

.markdown-theme-solarized pre {
  background-color: #eee8d5;
  padding: 1em;
  border-radius: 3px;
  margin-bottom: 1em;
  overflow: auto;
}

.markdown-theme-solarized blockquote {
  border-left: 4px solid #93a1a1;
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 1em;
  color: #93a1a1;
}

/* 暗色模式下的主题调整 */
.dark-mode .markdown-theme-default,
.dark-mode .markdown-theme-github,
.dark-mode .markdown-theme-medium,
.dark-mode .markdown-theme-notion,
.dark-mode .markdown-theme-juejin,
.dark-mode .markdown-theme-csdn,
.dark-mode .markdown-theme-zhihu,
.dark-mode .markdown-theme-wechat,
.dark-mode .markdown-theme-elegant,
.dark-mode .markdown-theme-academic,
.dark-mode .markdown-theme-clean {
  color: #f0f0f0;
  background-color: transparent;
}

.dark-mode .markdown-theme-default code,
.dark-mode .markdown-theme-github code,
.dark-mode .markdown-theme-medium code,
.dark-mode .markdown-theme-notion code,
.dark-mode .markdown-theme-juejin code,
.dark-mode .markdown-theme-csdn code,
.dark-mode .markdown-theme-zhihu code,
.dark-mode .markdown-theme-wechat code,
.dark-mode .markdown-theme-elegant code,
.dark-mode .markdown-theme-academic code,
.dark-mode .markdown-theme-clean code {
  background-color: #2a2a2a;
  color: #e6e6e6;
}

.dark-mode .markdown-theme-default pre,
.dark-mode .markdown-theme-github pre,
.dark-mode .markdown-theme-medium pre,
.dark-mode .markdown-theme-notion pre,
.dark-mode .markdown-theme-juejin pre,
.dark-mode .markdown-theme-csdn pre,
.dark-mode .markdown-theme-zhihu pre,
.dark-mode .markdown-theme-wechat pre,
.dark-mode .markdown-theme-elegant pre,
.dark-mode .markdown-theme-academic pre,
.dark-mode .markdown-theme-clean pre {
  background-color: #2a2a2a;
}

.dark-mode .markdown-theme-default blockquote,
.dark-mode .markdown-theme-github blockquote,
.dark-mode .markdown-theme-medium blockquote,
.dark-mode .markdown-theme-notion blockquote,
.dark-mode .markdown-theme-juejin blockquote,
.dark-mode .markdown-theme-csdn blockquote,
.dark-mode .markdown-theme-zhihu blockquote,
.dark-mode .markdown-theme-wechat blockquote,
.dark-mode .markdown-theme-elegant blockquote,
.dark-mode .markdown-theme-academic blockquote,
.dark-mode .markdown-theme-clean blockquote {
  color: #aaa;
  border-left-color: #444;
}

/* 日光主题暗色模式 */
.dark-mode .markdown-theme-solarized {
  color: #839496;
  background-color: #002b36;
}

.dark-mode .markdown-theme-solarized h1 {
  color: #b58900;
}

.dark-mode .markdown-theme-solarized h2 {
  color: #cb4b16;
}

.dark-mode .markdown-theme-solarized h3 {
  color: #d33682;
}

.dark-mode .markdown-theme-solarized code {
  background-color: #073642;
  color: #2aa198;
}

.dark-mode .markdown-theme-solarized pre {
  background-color: #073642;
}

.dark-mode .markdown-theme-solarized blockquote {
  color: #586e75;
  border-left-color: #586e75;
} 